<template>
  <ChildComponent @custom-event="handleChildData" />
</template>

<script setup>
import ChildComponent from './10-子传父-子.vue'

const handleChildData = (data) => {
  console.log('从子组件接收到的数据:', data)
}
</script>

<style scoped>

</style>
